package com.example.administrator.yuejian_2.viewholder;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.administrator.yuejian_2.R;
import com.makeramen.roundedimageview.RoundedImageView;

/**
 * Created by Administrator on 2017/10/12.
 */

public class PoListVH extends RecyclerView.ViewHolder {
    public RoundedImageView userpic;
    public TextView username;
    public ImageView postpic;
    public TextView posttitle;
    public View itemView;

    public PoListVH(View itemView) {
        super(itemView);

        this.itemView = itemView;
        userpic = itemView.findViewById(R.id.post_userpic);
        username = itemView.findViewById(R.id.post_username);
        postpic = itemView.findViewById(R.id.post_pic);
        posttitle = itemView.findViewById(R.id.post_title);
    }
}
